<?php
/**
 * Manager de BBDD personalizado. Tiene hard-coded los datos de mi base.
 * @author sdeleon
 *
 */
class DBManager
{
	/**
	 * @return Zend_Db_Adapter_Abstract
	 */
	public static function getConnection()
	{
		$params =
		array (
			'username'=>'adamantoise',
			'password'=>'bigwhoop',
			'dbname'=>'localhost:1521'
		);
		require_once "Zend/Db.php";
		require_once "Zend/Registry.php";
		$db = Zend_Db::factory('oracle', $params);
		return $db;
	}
}